package info.androidhive.tabsswipe;

import java.util.List;


import com.example.newscrolling.enity.Movie;
import com.example.newscrolling.service.favouriteDAO;

import info.androidhive.tabsswipe.R;
import android.os.Bundle;

import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;




public class Favourite extends Fragment {
	
	
	private ListView lv1;
	private int seletedIndex;// 使用者選擇的列
	
	//data aceess
	private favouriteDAO userCustomDao;
	
	//data
	private List<Movie> custom_list;
	
	public Favourite(int i) {
		// TODO Auto-generated constructor stub
	}

	

	public Favourite() {
		// TODO Auto-generated constructor stub
	}



	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState){
		
		
		View rootView = inflater.inflate(R.layout.fragment_favourite,container,false);
				return rootView;
		
		
		
	}
	
	public void onActivityCreated(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onActivityCreated(savedInstanceState);
		initView();
		initHandler();
	}

	private void initHandler() {
		// TODO Auto-generated method stub
		
	}

	private void initView() {
		// TODO Auto-generated method stub
		lv1 = (ListView) getActivity().findViewById(R.id.lv1); 
		userCustomDao = new favouriteDAO(getActivity());
	}
	
	
}
